home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / geom_lib / makefile.tc < prev    next >
Encoding:
Makefile  |  1993-12-30  |  1.1 KB  |  42 lines

  1.  
  2. #
  3. # This is the make file for the prsr. lib subdirectory.
  4. # In order to run it tcc is assumed to be available, in addition to
  5. # tlib and obviously borland make.
  6. #
  7. # Usage: "make [-DMDL=model]" where model can be l (large) or c (compact) etc.
  8. # Note the MDL is optional with large model as default.
  9. #
  10. #                Gershon Elber, Aug 1991
  11. #
  12.  
  13. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  14. # .SWAP
  15.  
  16. # Get the destination directories:
  17. !include "..\makeflag.tc"
  18.  
  19. OBJS = bbox.obj convex.obj geomat3d.obj geomvals.obj intrnrml.obj poly_cln.obj
  20.  
  21. # Show me better way if you know one to prepare this line for TLIB:
  22. POBJS = +bbox.obj +convex.obj +geomat3d.obj +geomvals.obj \
  23.     +intrnrml.obj +poly_cln.obj
  24.  
  25. geom_lib.lib: $(OBJS)
  26.     del geom_lib.lib
  27.     tlib /c geom_lib.lib @&&!
  28. $(POBJS), geom_lib.lst
  29. !
  30.  
  31. install: geom_lib.lib
  32.     copy geom_lib.lib $(LIB_DIR)
  33.     copy *.h $(INC_DIR)
  34.  
  35. # Dependencies starts here - do not touch, generated automatically.
  36. bbox.obj:    bbox.h
  37. convex.obj:    convex.h poly_cln.h geomat3d.h intrnrml.h
  38. geomat3d.obj:    convex.h geomat3d.h
  39. geomvals.obj:    convex.h geomat3d.h geomvals.h
  40. intrnrml.obj:    geomat3d.h intrnrml.h
  41. poly_cln.obj:    poly_cln.h
  42.